<?php

class Welcome extends Controller {

	function Welcome()
	{
		parent::Controller();	
	}
	
	function index()
	{
		//$this->load->view('welcome_message');
$host=strtolower($_SERVER['HTTP_HOST']);
		if($host=="rest1.co.uk")
			echo "Welcome to Raju's Restaurant";

		else if($host=="rest2.co.uk")
			echo "Welcome to Uday's Restaurant";

		else if($host=="localhost")
			echo "Welcome to bish's Restaurant";

	}
}

/* End of file welcome.php */
/* Location: ./system/application/controllers/welcome.php */